package com.wlyuan.open.scanner.domain.customer;

import com.wlyuan.open.scanner.domain.BaseDomain;
import com.wlyuan.open.scanner.domain.address.Address;
import com.wlyuan.open.scanner.utils.enums.AutoBalanceEnum;
import com.wlyuan.open.scanner.utils.enums.SourceInvalidEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

/**
 * @author lijing
 * @description
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class Customer extends BaseDomain {

    private Long id;

    @ApiModelProperty("公司名称")
    private String name;

    @ApiModelProperty("联系人")
    private String contactName;

    @ApiModelProperty("联系电话")
    private String contactMobile;

    @ApiModelProperty("邮箱")
    private String contactEmail;

    @ApiModelProperty("行业")
    private Integer industry;

    @ApiModelProperty("公司网站")
    private String url;

    @ApiModelProperty("公司简称")
    private String abbr;

    @ApiModelProperty("英文名")
    private String englishName;

    @ApiModelProperty("英文名简称")
    private String englishAbbr;

    @ApiModelProperty("logo")
    private String logo;

    @ApiModelProperty("传真")
    private String fax;

    @ApiModelProperty("邮编")
    private String zipcode;

    @ApiModelProperty("简介")
    private String profile;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("开户行名称")
    private String bankName;

    @ApiModelProperty("银行账号")
    private String bankAccount;

    @ApiModelProperty("企业法人")
    private String corporation;

    @ApiModelProperty("营业执照")
    private String businessLicenseUrl;

    @ApiModelProperty("微信公众号")
    private String wechatOfficialNo;

    @ApiModelProperty("是否委托对账")
    private AutoBalanceEnum autoBalance;

    @ApiModelProperty("热度")
    private Integer hots;

    @ApiModelProperty("类型: 0-线下 1-线上 2-我自己")
    private Integer type;

    @ApiModelProperty("状态: 0-可用 1-不可用")
    private SourceInvalidEnum customerInvalid;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("地址列表")
    private List<Address> addressList;

    @ApiModelProperty("公司简称")
    private String companyAbbr;

    private Long createBy;
    private Long updateBy;

    private CustomerConfig customerConfig;

    private String sourceId;

}
